package com.totsp.conference;

import android.content.Intent;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.view.View;
import android.widget.TextView;

public class Main extends ConfActivity {   
   
   private TextView mainLink;
   
   @Override
   public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
      
      mainLink = (TextView) findViewById(R.id.main_link);
      mainLink.setText(Html.fromHtml(getResources().getString(R.string.main_link)), TextView.BufferType.SPANNABLE);
      mainLink.setMovementMethod(LinkMovementMethod.getInstance());
   }

   @Override
   public void onResume() {
      super.onResume();
   }
                
   public void presentationsClick(View v) {
      startActivity(new Intent(this, PresentationList.class));
   }
   
   public void speakersClick(View v) {
      startActivity(new Intent(this, SpeakerList.class));
   }
}